package com.chen.positioning.mypositioning.dao;

import com.chen.positioning.mypositioning.entity.Mypositioning;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface MypositioningMapper {

    /**
     * 添加定位
     * @param mypositioning
     * @return
     */
    public int insertMypositioningInfo(Mypositioning mypositioning) throws Exception;

    /**
     * 查询我的定位记录
     */
    public List<Mypositioning> findAllMypositioning(Integer userId) throws Exception;
}